<template>
  <div>
    <a-modal title="" :visible="visible" @before-open="open" @cancel="handleCancel" :align-center="false" title-align="start" width="600px" :mask-closable="false">
      <div></div>
    </a-modal>
  </div>
</template>

<script lang="ts">
  import { defineComponent, ref, reactive, toRefs, computed } from 'vue'
  import { Message } from '@arco-design/web-vue'
  export default defineComponent({
    props: [],
    setup(props: any, { emit }) {
      let visible = ref(false)
      const data = reactive({
        loading: false,
      })

      const open = () => {}
      const handleOk = () => {}
      const handleCancel = () => {
        visible.value = false
      }
      return {
        ...(toRefs(data) as any),
        visible,
        open,
        handleOk,
        handleCancel,
      }
    },
  })
</script>

<style lang="less" scoped></style>
